[INFO] cloning repository https://github.com/elegios/konkordans
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elegios/konkordans" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegios%2Fkonkordans", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegios%2Fkonkordans'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 74d5e8980b883bf2d5833b86b17a691b796dc3a3
[INFO] checking elegios/konkordans against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegios%2Fkonkordans" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/elegios/konkordans on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/elegios/konkordans
[INFO] finished tweaking git repo https://github.com/elegios/konkordans
[INFO] tweaked toml for git repo https://github.com/elegios/konkordans written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/elegios/konkordans already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/lifthrasiir/rust-encoding.git`
[INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/lifthrasiir/rust-encoding.git`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2546a3567edaf0f0a36125cc4a9fa41b8651bb0a0721250f612491cf285b50c4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2546a3567edaf0f0a36125cc4a9fa41b8651bb0a0721250f612491cf285b50c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2546a3567edaf0f0a36125cc4a9fa41b8651bb0a0721250f612491cf285b50c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2546a3567edaf0f0a36125cc4a9fa41b8651bb0a0721250f612491cf285b50c4", kill_on_drop: false }`
[INFO] [stdout] 2546a3567edaf0f0a36125cc4a9fa41b8651bb0a0721250f612491cf285b50c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3ba268b04277094d0273476e02f94621daa69396b433ad04730e635a494db2ba
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3ba268b04277094d0273476e02f94621daa69396b433ad04730e635a494db2ba", kill_on_drop: false }`
[INFO] [stderr]     Checking encoding_index_tests v0.1.5 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30)
[INFO] [stderr]     Checking encoding-types v0.2.0 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30)
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30)
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20160120.0 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30)
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20160120.0 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30)
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30)
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30)
[INFO] [stderr]     Checking encoding v0.3.0-dev (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30)
[INFO] [stderr]     Checking konkordans v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `encoding::DecodeStrict`
[INFO] [stdout]  --> src/main.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use encoding::{Encoding, DecodeStrict};
[INFO] [stdout]   |                          ^^^^^^^^^^^^ no `DecodeStrict` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io`
[INFO] [stdout]   --> src/main.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut latman = io::BufferedWriter::new(io::File::create(&Path::new("index/latman")));
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io`
[INFO] [stdout]   --> src/main.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut words = io::BufferedWriter::new(io::File::create(&Path::new("index/words")));
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io`
[INFO] [stdout]   --> src/main.rs:17:26
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut positions = io::BufferedWriter::new(io::File::create(&Path::new("index/positions")));
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedReader` in `io`
[INFO] [stdout]   --> src/main.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut indata = io::BufferedReader::new(io::File::open(&Path::new("sorted")));
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io`
[INFO] [stdout]   --> src/main.rs:15:47
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut latman = io::BufferedWriter::new(io::File::create(&Path::new("index/latman")));
[INFO] [stdout]    |                                                  ^^^^ not found in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stdout]   --> src/main.rs:15:61
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut latman = io::BufferedWriter::new(io::File::create(&Path::new("index/latman")));
[INFO] [stdout]    |                                                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io`
[INFO] [stdout]   --> src/main.rs:16:46
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut words = io::BufferedWriter::new(io::File::create(&Path::new("index/words")));
[INFO] [stdout]    |                                                 ^^^^ not found in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stdout]   --> src/main.rs:16:60
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut words = io::BufferedWriter::new(io::File::create(&Path::new("index/words")));
[INFO] [stdout]    |                                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io`
[INFO] [stdout]   --> src/main.rs:17:50
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut positions = io::BufferedWriter::new(io::File::create(&Path::new("index/positions")));
[INFO] [stdout]    |                                                     ^^^^ not found in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stdout]   --> src/main.rs:17:64
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut positions = io::BufferedWriter::new(io::File::create(&Path::new("index/positions")));
[INFO] [stdout]    |                                                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io`
[INFO] [stdout]   --> src/main.rs:19:47
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut indata = io::BufferedReader::new(io::File::open(&Path::new("sorted")));
[INFO] [stdout]    |                                                  ^^^^ not found in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stdout]   --> src/main.rs:19:59
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut indata = io::BufferedReader::new(io::File::open(&Path::new("sorted")));
[INFO] [stdout]    |                                                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/main.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let pos: i64 = from_str(tokens.next().expect("No pointer")).expect("What is this?");
[INFO] [stdout]    |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/main.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 for i in range(0, key_distance(&key, &next_key)) {
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:59:46
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn key_distance(k1: &String, k2: &String) -> int {
[INFO] [stdout]    |                                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn chash(c: char) -> int {
[INFO] [stdout]    |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:73:26
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn hash(key: &String) -> int {
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoding`
[INFO] [stdout]  --> src/main.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use encoding::{Encoding, DecodeStrict};
[INFO] [stdout]   |                ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `encoding::all::ISO_8859_1`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use encoding::all::ISO_8859_1;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `encoding::DecodeStrict`
[INFO] [stdout]  --> src/main.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use encoding::{Encoding, DecodeStrict};
[INFO] [stdout]   |                          ^^^^^^^^^^^^ no `DecodeStrict` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:44:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |             words.write_str(word.as_slice());
[INFO] [stdout]    |                                  ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `&str` to `&String`
[INFO] [stdout]   --> src/main.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |     format!("{:3.3}", key + "   ")
[INFO] [stdout]    |                       --- ^ ----- &str
[INFO] [stdout]    |                       |   |
[INFO] [stdout]    |                       |   `+` cannot be used to concatenate two `&str` strings
[INFO] [stdout]    |                       &String
[INFO] [stdout]    |
[INFO] [stdout] help: `to_owned()` can be used to create an owned `String` from a string reference. String concatenation appends the string on the right to the string on the left and may require reallocation. This requires ownership of the string on the left
[INFO] [stdout]    |
[INFO] [stdout] 56 |     format!("{:3.3}", key.to_owned() + "   ")
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_int` found for type `u32` in the current scope
[INFO] [stdout]   --> src/main.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 |     }.to_int().unwrap()
[INFO] [stdout]    |       ^^^^^^ method not found in `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io`
[INFO] [stdout]   --> src/main.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut latman = io::BufferedWriter::new(io::File::create(&Path::new("index/latman")));
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope
[INFO] [stdout]   --> src/main.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut iter = key.as_slice().chars();
[INFO] [stdout]    |                        ^^^^^^^^ method not found in `&String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io`
[INFO] [stdout]   --> src/main.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut words = io::BufferedWriter::new(io::File::create(&Path::new("index/words")));
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io`
[INFO] [stdout]   --> src/main.rs:17:26
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut positions = io::BufferedWriter::new(io::File::create(&Path::new("index/positions")));
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0369, E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedReader` in `io`
[INFO] [stdout]   --> src/main.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut indata = io::BufferedReader::new(io::File::open(&Path::new("sorted")));
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `konkordans`.
[INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io`
[INFO] [stdout]   --> src/main.rs:15:47
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut latman = io::BufferedWriter::new(io::File::create(&Path::new("index/latman")));
[INFO] [stdout]    |                                                  ^^^^ not found in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stdout]   --> src/main.rs:15:61
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut latman = io::BufferedWriter::new(io::File::create(&Path::new("index/latman")));
[INFO] [stdout]    |                                                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io`
[INFO] [stdout]   --> src/main.rs:16:46
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut words = io::BufferedWriter::new(io::File::create(&Path::new("index/words")));
[INFO] [stdout]    |                                                 ^^^^ not found in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stdout]   --> src/main.rs:16:60
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut words = io::BufferedWriter::new(io::File::create(&Path::new("index/words")));
[INFO] [stdout]    |                                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io`
[INFO] [stdout]   --> src/main.rs:17:50
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut positions = io::BufferedWriter::new(io::File::create(&Path::new("index/positions")));
[INFO] [stdout]    |                                                     ^^^^ not found in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stdout]   --> src/main.rs:17:64
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut positions = io::BufferedWriter::new(io::File::create(&Path::new("index/positions")));
[INFO] [stdout]    |                                                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io`
[INFO] [stdout]   --> src/main.rs:19:47
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut indata = io::BufferedReader::new(io::File::open(&Path::new("sorted")));
[INFO] [stdout]    |                                                  ^^^^ not found in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stdout]   --> src/main.rs:19:59
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut indata = io::BufferedReader::new(io::File::open(&Path::new("sorted")));
[INFO] [stdout]    |                                                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/main.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let pos: i64 = from_str(tokens.next().expect("No pointer")).expect("What is this?");
[INFO] [stdout]    |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/main.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 for i in range(0, key_distance(&key, &next_key)) {
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:59:46
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn key_distance(k1: &String, k2: &String) -> int {
[INFO] [stdout]    |                                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn chash(c: char) -> int {
[INFO] [stdout]    |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:73:26
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn hash(key: &String) -> int {
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoding`
[INFO] [stdout]  --> src/main.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use encoding::{Encoding, DecodeStrict};
[INFO] [stdout]   |                ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `encoding::all::ISO_8859_1`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use encoding::all::ISO_8859_1;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:44:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |             words.write_str(word.as_slice());
[INFO] [stdout]    |                                  ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `&str` to `&String`
[INFO] [stdout]   --> src/main.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |     format!("{:3.3}", key + "   ")
[INFO] [stdout]    |                       --- ^ ----- &str
[INFO] [stdout]    |                       |   |
[INFO] [stdout]    |                       |   `+` cannot be used to concatenate two `&str` strings
[INFO] [stdout]    |                       &String
[INFO] [stdout]    |
[INFO] [stdout] help: `to_owned()` can be used to create an owned `String` from a string reference. String concatenation appends the string on the right to the string on the left and may require reallocation. This requires ownership of the string on the left
[INFO] [stdout]    |
[INFO] [stdout] 56 |     format!("{:3.3}", key.to_owned() + "   ")
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_int` found for type `u32` in the current scope
[INFO] [stdout]   --> src/main.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 |     }.to_int().unwrap()
[INFO] [stdout]    |       ^^^^^^ method not found in `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope
[INFO] [stdout]   --> src/main.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut iter = key.as_slice().chars();
[INFO] [stdout]    |                        ^^^^^^^^ method not found in `&String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0369, E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "3ba268b04277094d0273476e02f94621daa69396b433ad04730e635a494db2ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ba268b04277094d0273476e02f94621daa69396b433ad04730e635a494db2ba", kill_on_drop: false }`
[INFO] [stdout] 3ba268b04277094d0273476e02f94621daa69396b433ad04730e635a494db2ba
